home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Programming Microsoft Visual Basic .NET
/
Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin
/
21 adonet disconnected
/
adonetdisconnected
/
connstrings.vb
< prev
next >
Wrap
Text File
|
2001-11-25
|
761b
|
19 lines
Module ConnStrings
' Public variables to access BIBLIO.MDB and SQL Server's PUBS.
' The connection string for biblio.mdb (using OLE DB provider)
Public BiblioConnString As String = "Provider=Microsoft.Jet.OLEDB.4.0;" _
& "Data Source=E:\Program Files\Microsoft Visual Studio\VB98\BIBLIO.MDB;"
' The connection string for Sql Server's Pubs (using the OLE DB provider)
Public OledbPubsConnString As String = "Provider=SQLOLEDB.1;Data Source=.;" _
& "Integrated Security=SSPI;Initial Catalog=pubs"
' The connection string for Sql Server's Pubs (using the OLE DB provider)
Public SqlPubsConnString As String = "Data Source=.;" _
& "Integrated Security=SSPI;Initial Catalog=pubs"
End Module